package cn.jg.framework.common.exception;

import cn.jg.framework.common.constant.BizCodeConstant;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by luowei on 2020/4/2.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonIgnoreProperties({"cause", "stackTrace", "localizedMessage", "suppressed", "i18nMessage"})
public class MixBadRequestException extends BadRequestException {

	public MixBadRequestException(String messageCode, boolean defaultLocale) {
		super(BizCodeConstant.BAD_REQUEST, messageCode, defaultLocale);
	}

	public MixBadRequestException(String messageCode, String... params) {
		super(BizCodeConstant.BAD_REQUEST, messageCode, params);
	}
}
